﻿namespace PoemGame.Domain.Seedwork
{
    /// <summary>
    /// 外部事件数据基类
    /// </summary>
    public class BaseEventDataOutBound
    {
        public BaseEventDataOutBound(DateTime eventDate, Guid senderId)
        {
            EventDate = eventDate;
            this.SenderId = senderId;
        }
        /// <summary>
        /// 事件发生时间
        /// </summary>
        public DateTime EventDate { get; private set; }
        /// <summary>
        /// 事件源的标识
        /// </summary>
        public Guid SenderId { get; private set; }
    }
}
